package org.leonos.core.orm;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import org.leonos.web.modules.model.Department;

/**
 * 模块表ORM映射
 * @author LeonXiao
 */
public class ModulesModelMapping {

    public static void add(ActiveRecordPlugin plugin) {
        plugin.addMapping("sys_department", Department.class); // 部门表
    }

}
